package fr.umlv.m2.uwp2011.service.user;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("IUserService.rpc")
public interface IUserService extends RemoteService {
	UserDTO getUser(String login, String password);
	UserDTO getUser(String login);
	List<UserDTO> getUserByCursusID(Long cursus_id);
	List<UserDTO> getUserByMatiereID(Long matiere_id);
	List<UserDTO> getUserByCususAndMatiere(Long cursus_id, Long matiere_id);
}
